
listdemo = ['Google','Runoob', 'Taobao']
newdict = {key:len(key) for key in listdemo}
print(newdict)

# {'Google': 6, 'Runoob': 6, 'Taobao': 6}

